---
title: Navigatiebalk
image: /images/user-guide/table-views/table.png
---

<Frame>
  <img src="/images/user-guide/table-views/table.png" alt="Header" />
</Frame>

Rendert een navigatiebalk die meerdere `NavigationBarItem`-componenten bevat.

<Tabs>
<Tab title="Usage">

```jsx
import { IconHome, IconUser, IconSettings } from '@tabler/icons-react';
import { NavigationBar } from "@/ui/navigation/navigation-bar/components/NavigationBar";

export const MyComponent = () => {

   const navigationItems = [
     {
       name: "Home",
       Icon: IconHome,
       onClick: () => console.log("Home clicked"),
     },
     {
       name: "Profile",
       Icon: IconUser,
       onClick: () => console.log("Profile clicked"),
     },
     {
       name: "Settings",
       Icon: IconSettings,
       onClick: () => console.log("Settings clicked"),
     },
   ];

  return <NavigationBar activeItemName="Home" items={navigationItems}/>;
};
```

</Tab>
<Tab title="Props">

| Props          | Soort      | Beschrijving                                                                                                                                                                                                                   |
| -------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| activeItemName | tekenreeks | De naam van het momenteel actieve navigatie-item                                                                                                                                                                               |
| items          | lijst      | Een array van objecten die elk navigatie-item vertegenwoordigen. Each object contains the `name` of the item, the `Icon` component to display, and an `onClick` function to be called when the item is clicked |

</Tab>
</Tabs>
